package manage.vo;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by zwr on 15/12/17.
 */
public class RoleAddModel {
    @NotEmpty(message = "不能为空")
    private String roleName;
    @NotEmpty(message = "不能为空")
    private String roleKey;
    @NotEmpty(message = "请选择权限")
    private String[] rolePermissionKeys;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String[] getRolePermissionKeys() {
        return rolePermissionKeys;
    }

    public void setRolePermissionKeys(String[] rolePermissionKeys) {
        this.rolePermissionKeys = rolePermissionKeys;
    }
}
